home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / doc / unix / sysmod.doc < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.5 KB  |  52 lines

  1.  
  2.  
  3.  
  4.  
  5.      SYSMOD(UNIX)                 3/14/79                 SYSMOD(UNIX)
  6.  
  7.  
  8.  
  9.      NAME
  10.           sysmod - modify system relations  to  predetermined  storage
  11.           structures.
  12.  
  13.      SYNOPSIS
  14.           _s_y_s_m_o_d [ -_s ] [ -_w ] dbname [ _r_e_l_a_t_i_o_n ]  [  _a_t_t_r_i_b_u_t_e  ]  [
  15.           _i_n_d_e_x_e_s ] [ _t_r_e_e ] [ _p_r_o_t_e_c_t ] [ _i_n_t_e_g_r_i_t_i_e_s ]
  16.  
  17.      DESCRIPTION
  18.           _S_y_s_m_o_d will modify the relation, attribute,  indexes,  tree,
  19.           protect,  and  integrities relations to hash unless at least
  20.           one of the _r_e_l_a_t_i_o_n, _a_t_t_r_i_b_u_t_e, _i_n_d_e_x_e_s, _t_r_e_e,  _p_r_o_t_e_c_t,  or
  21.           _i_n_t_e_g_r_i_t_i_e_s  parameters  are given, in which case only those
  22.           relations given as parameters are modified.  The system  re-
  23.           lations are modified to gain maximum access performance when
  24.           running INGRES.  The user must be the data base  administra-
  25.           tor  for  the specified database, or be the INGRES superuser
  26.           and have the -_s flag stated.
  27.  
  28.           _S_y_s_m_o_d should be run on a data base when it is first created
  29.           and  periodically  thereafter  to maintain peak performance.
  30.           If many relations and secondary indices are  created  and/or
  31.           destroyed, _s_y_s_m_o_d should be run more often.
  32.  
  33.           If the data base is being used while _s_y_s_m_o_d is running,  er-
  34.           rors  will occur.  Therefore, _s_y_s_m_o_d will lock the data base
  35.           while it is being processed.  If the data base is busy, _s_y_s_-
  36.           _m_o_d  will  report this.  If standard input is not a terminal
  37.           _s_y_s_m_o_d will wait for the data base to be free.  If  -_w  flag
  38.           is  stated  _s_y_s_m_o_d will not wait, regardless of standard in-
  39.           put.  The +_w flag causes _s_y_s_m_o_d to always wait.
  40.  
  41.           The system relations are modified to hash; the relation  re-
  42.           lation is keyed on the first domain, the indexes, attribute,
  43.           protect, and integrities relations are keyed  on  the  first
  44.           two  domains, and the tree relation is keyed on domains one,
  45.           two, and five.  The relation and  attribute  relations  have
  46.           the minpages option set at 10, the indexes, protect, and in-
  47.           tegrities relations have the minpages value set at 5.
  48.  
  49.      SEE ALSO
  50.           modify(quel)
  51.  
  52.